package com.zhoukun.nacos.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @author zhoukun 86547462@qq.com
 * @version 1.0
 * @date 2020/10/30 19:20
 */
@RestController
public class EchoController {


    @GetMapping(value = "/uuid")
    public String echo() {
        String uuid= UUID.randomUUID().toString();
        return "UUID9002:" + uuid;
    }

}
